﻿namespace WMS6.Web.AnalyticsReportServiceRef
{
    using System;
    using System.CodeDom.Compiler;
    using System.Diagnostics;
    using System.Runtime.Serialization;

    [Serializable, DataContract(Name="ReceiptRptQueryEntity", Namespace="http://schemas.datacontract.org/2004/07/WMS6.QueryEntity"), DebuggerStepThrough, GeneratedCode("System.Runtime.Serialization", "3.0.0.0")]
    public class ReceiptRptQueryEntity : BaseQuery
    {
        [OptionalField]
        private string DescrField;
        [OptionalField]
        private string EndDateTimeField;
        [OptionalField]
        private string EXTERNAL_LOTField;
        [OptionalField]
        private string EXTERNAL_RECEIPT_IDField;
        [OptionalField]
        private string OWNER_IDField;
        [OptionalField]
        private string PO_IDField;
        [OptionalField]
        private string RECEIPT_IDField;
        [OptionalField]
        private string RECEIPT_TYPEField;
        [OptionalField]
        private string RMAField;
        [OptionalField]
        private string SKU_CLASS_IDField;
        [OptionalField]
        private string SKU_IDField;
        [OptionalField]
        private string StartDateTimeField;
        [OptionalField]
        private string VENDOR_IDField;

        [DataMember]
        public string Descr
        {
            get
            {
                return this.DescrField;
            }
            set
            {
                if (!object.ReferenceEquals(this.DescrField, value))
                {
                    this.DescrField = value;
                    base.RaisePropertyChanged("Descr");
                }
            }
        }

        [DataMember]
        public string EndDateTime
        {
            get
            {
                return this.EndDateTimeField;
            }
            set
            {
                if (!object.ReferenceEquals(this.EndDateTimeField, value))
                {
                    this.EndDateTimeField = value;
                    base.RaisePropertyChanged("EndDateTime");
                }
            }
        }

        [DataMember]
        public string EXTERNAL_LOT
        {
            get
            {
                return this.EXTERNAL_LOTField;
            }
            set
            {
                if (!object.ReferenceEquals(this.EXTERNAL_LOTField, value))
                {
                    this.EXTERNAL_LOTField = value;
                    base.RaisePropertyChanged("EXTERNAL_LOT");
                }
            }
        }

        [DataMember]
        public string EXTERNAL_RECEIPT_ID
        {
            get
            {
                return this.EXTERNAL_RECEIPT_IDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.EXTERNAL_RECEIPT_IDField, value))
                {
                    this.EXTERNAL_RECEIPT_IDField = value;
                    base.RaisePropertyChanged("EXTERNAL_RECEIPT_ID");
                }
            }
        }

        [DataMember]
        public string OWNER_ID
        {
            get
            {
                return this.OWNER_IDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.OWNER_IDField, value))
                {
                    this.OWNER_IDField = value;
                    base.RaisePropertyChanged("OWNER_ID");
                }
            }
        }

        [DataMember]
        public string PO_ID
        {
            get
            {
                return this.PO_IDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.PO_IDField, value))
                {
                    this.PO_IDField = value;
                    base.RaisePropertyChanged("PO_ID");
                }
            }
        }

        [DataMember]
        public string RECEIPT_ID
        {
            get
            {
                return this.RECEIPT_IDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.RECEIPT_IDField, value))
                {
                    this.RECEIPT_IDField = value;
                    base.RaisePropertyChanged("RECEIPT_ID");
                }
            }
        }

        [DataMember]
        public string RECEIPT_TYPE
        {
            get
            {
                return this.RECEIPT_TYPEField;
            }
            set
            {
                if (!object.ReferenceEquals(this.RECEIPT_TYPEField, value))
                {
                    this.RECEIPT_TYPEField = value;
                    base.RaisePropertyChanged("RECEIPT_TYPE");
                }
            }
        }

        [DataMember]
        public string RMA
        {
            get
            {
                return this.RMAField;
            }
            set
            {
                if (!object.ReferenceEquals(this.RMAField, value))
                {
                    this.RMAField = value;
                    base.RaisePropertyChanged("RMA");
                }
            }
        }

        [DataMember]
        public string SKU_CLASS_ID
        {
            get
            {
                return this.SKU_CLASS_IDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.SKU_CLASS_IDField, value))
                {
                    this.SKU_CLASS_IDField = value;
                    base.RaisePropertyChanged("SKU_CLASS_ID");
                }
            }
        }

        [DataMember]
        public string SKU_ID
        {
            get
            {
                return this.SKU_IDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.SKU_IDField, value))
                {
                    this.SKU_IDField = value;
                    base.RaisePropertyChanged("SKU_ID");
                }
            }
        }

        [DataMember]
        public string StartDateTime
        {
            get
            {
                return this.StartDateTimeField;
            }
            set
            {
                if (!object.ReferenceEquals(this.StartDateTimeField, value))
                {
                    this.StartDateTimeField = value;
                    base.RaisePropertyChanged("StartDateTime");
                }
            }
        }

        [DataMember]
        public string VENDOR_ID
        {
            get
            {
                return this.VENDOR_IDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.VENDOR_IDField, value))
                {
                    this.VENDOR_IDField = value;
                    base.RaisePropertyChanged("VENDOR_ID");
                }
            }
        }
    }
}

